/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cronus.client;

import java.util.*;
import java.io.*;

/**
 *
 * @author Rick
 */
public class Table
{   
    
        static SocketConnection socketconresult = new SocketConnection();
        
        //protected String[] column;
        protected Object[][] result;
        
        
        public Table(String query)
        {
            
            query = "SELECT COUNT(*),[Service Zone Code],City "
                    + "FROM [CRONUS Nederland BV$Customer] "
                    + "GROUP BY [Service Zone Code],City";
            
            socketconresult.send(query);
            result = socketconresult.read();
            
        }
        
//        public static void main(String[] args)
//        {
//            InfoClientMainScreen mainscreen = new InfoClientMainScreen();
//            socketconresult.getColumnNames();
//            Table table = new Table();
//            mainscreen.setVisible(true);
//            
//
//        }
}
